
































  
  


  

  
  	
  

  

	
	

	
	
	
	
	




  
















	
	
	
	
	
	
	
	
	
	
  
  


	


	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	




    
  






  
    
  




	
	
	
	
	



<!--NewPage-->
<HTML>

<!-- Mirrored from delerium:8503/cfcdoc/content.cfm?file=C%3A%5CInetpub%5Cwwwroot%5Ctransfer%2Droot%5Ctransfer%5CTransferFactory%2Ecfc by HTTrack Website Copier/3.x [XR&CO'2006], Sat, 07 Apr 2007 03:16:21 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8"><!-- /Added by HTTrack -->
<HEAD>

<!-- Generated by CFDoc on 07-Apr-2007 01:16 PM -->

<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<BODY>


	



<HR>
<!-- ======== START OF CLASS DATA ======== -->

<div style="float:left;">

<a href="default.html" style="float: right;">Documentation home page</a>
</div>
<H2>
<span style="font-size: smaller">
<a href="components50e1.html" target="components">transfer</a>
</span>
<BR>
Component TransferFactory</H2>


<PRE>
<B>transfer.TransferFactory</B>
</PRE>


<HR>
The Factory for Transfer, should be a scope singleton


<HR>

<P>


<!-- ========== PROPERTY SUMMARY =========== -->

<A NAME="property_summary"><!-- --></A>






<!-- ========== METHOD SUMMARY =========== -->




<A NAME="method_summary"><!-- --></A>

<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">

<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>











	





	





	





	





	





	



	<TR BGCOLOR="eeeeff" CLASS="TableRowColorConstructor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="content4533.html" target="_self">TransferFactory</a></CODE></TD>
	<TD><CODE><B><A HREF="#init()">init</A></B>([<a href="nativetypes.html#detail_string">string</a> datasourcePath],&nbsp;[<a href="nativetypes.html#detail_string">string</a> configPath],&nbsp;[<a href="nativetypes.html#detail_string">string</a> definitionPath="/transfer/resources/definitions/"],&nbsp;[<a href="content1186.html">Configuration</a> configuration])</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor
	</TD>
	</TR>
	

	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="content2efb.html" target="_self">Datasource</a></CODE></TD>
	<TD><CODE><B><A HREF="#getDatasource()">getDatasource</A></B>()</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the datasource bean that provides connectivity details to the database
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="content3c54.html" target="_self">Transfer</a></CODE></TD>
	<TD><CODE><B><A HREF="#getTransfer()">getTransfer</A></B>()</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the main library class, that is used in all processing
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="nativetypes.html#detail_string" target="_self">string</a></CODE></TD>
	<TD><CODE><B><A HREF="#getVersion()">getVersion</A></B>()</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the version number
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setDatasource()">setDatasource</A></B>(<a href="content2efb.html">Datasource</a> Datasource)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setTransfer()">setTransfer</A></B>(<a href="content3c54.html">Transfer</a> Transfer)</CODE>
	
	
	</TD>
	</TR>
	
</TABLE>



&nbsp;
<P>



<!-- ============ METHOD DETAIL ========== -->


<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>












<A NAME="getDatasource()"><!-- --></A><H3>
getDatasource</H3>

<PRE>
public <A HREF="content2efb.html" title="">transfer.com.sql.Datasource</A> <B>getDatasource</B>()</PRE>
<DL>
  <DD>
  	
  	
		Returns the datasource bean that provides connectivity details to the database
	    <P>
	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getTransfer()"><!-- --></A><H3>
getTransfer</H3>

<PRE>
public <A HREF="content3c54.html" title="">transfer.com.Transfer</A> <B>getTransfer</B>()</PRE>
<DL>
  <DD>
  	
  	
		Returns the main library class, that is used in all processing
	    <P>
	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getVersion()"><!-- --></A><H3>
getVersion</H3>

<PRE>
public <A HREF="nativetypes.html#detail_string" title="">string</A> <B>getVersion</B>()</PRE>
<DL>
  <DD>
  	
  	
		Returns the version number
	    <P>
	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="init()"><!-- --></A><H3>
init</H3>

<PRE>
public <A HREF="content4533.html" title="">TransferFactory</A> <B>init</B>([<a href="nativetypes.html#detail_string">string</a> datasourcePath],&nbsp;[<a href="nativetypes.html#detail_string">string</a> configPath],&nbsp;[<a href="nativetypes.html#detail_string">string</a> definitionPath="/transfer/resources/definitions/"],&nbsp;[<a href="content1186.html">Configuration</a> configuration])</PRE>
<DL>
  <DD>
  	
  	
		Constructor
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code>[<a href="nativetypes.html#detail_string">string</a> datasourcePath]</code> - The path to datasource xml file. Should be a relative path, i.e. /myapp/configs/datasource.xml</DD>
			
			  <DD><code>[<a href="nativetypes.html#detail_string">string</a> configPath]</code> - The path to the config xml file, Should be a relative path, i.e. /myapp/configs/transfer.xml</DD>
			
			  <DD><code>[<a href="nativetypes.html#detail_string">string</a> definitionPath="/transfer/resources/definitions/"]</code> - directory to write the defition files. Should be from root, i.e. /myapp/definitions/, as it is used for cfinclude</DD>
			
			  <DD><code>[<a href="content1186.html">Configuration</a> configuration]</code> - A configuration bean.  If you supply one, you don't need to provide any other arguments</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setDatasource()"><!-- --></A><H3>
setDatasource</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setDatasource</B>(<a href="content2efb.html">Datasource</a> Datasource)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content2efb.html">Datasource</a> Datasource</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setTransfer()"><!-- --></A><H3>
setTransfer</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setTransfer</B>(<a href="content3c54.html">Transfer</a> Transfer)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content3c54.html">Transfer</a> Transfer</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>







</BODY>

<!-- Mirrored from delerium:8503/cfcdoc/content.cfm?file=C%3A%5CInetpub%5Cwwwroot%5Ctransfer%2Droot%5Ctransfer%5CTransferFactory%2Ecfc by HTTrack Website Copier/3.x [XR&CO'2006], Sat, 07 Apr 2007 03:16:21 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8"><!-- /Added by HTTrack -->
</HTML>